<template>
  <div class="container">
    <router-view :key="index" @changekey="changekey"></router-view>
  </div>
</template>

<script>
export default {
  components: {},
  props: {},
  data() {
    return {
      index:1,
    };
  },
  watch: {},
  computed: {},
  methods: {
    changekey(){
      this.index+=1;
    }
  },
  created() {},
  mounted() {}
};
</script>
<style lang="less" scoped>
</style>